//
//  WishListViewController.h
//  iFoundIt
//
//  Created by Navid Shariat on 4/05/10.
//  Copyright 2010 QUT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WishlistPersistentManager.h"

@interface WishListViewController : UITableViewController <UITableViewDataSource, UITableViewDelegate> {

	NSMutableArray * wishList;
	IBOutlet UIBarButtonItem     * refreshButton;
	IBOutlet UIBarButtonItem     * editButton;
	WishlistPersistentManager * wishlistManager;

}

@property (nonatomic, retain) NSMutableArray * wishList;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *refreshButton;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *editButton;
@property (nonatomic, retain) WishlistPersistentManager * wishlistManager;


#pragma mark actions
- (IBAction)refreshButtonClicked;
- (IBAction)editButtonClicked;


#pragma mark methods
- (NSMutableArray*)  retrieveWishList;
- (void) deleteWishedItem: (WishedItem*) wishedItem;
- (void) refreshTable;
- (void) addRefreshButton;
- (void) addEditButton;

@end
